package io.wdb.modules.activity.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.activity.wx.dao.MarketUserSignPraiseDao;
import io.wdb.modules.activity.wx.entity.MarketUserSignPraiseEntity;
import io.wdb.modules.activity.wx.service.MarketUserSignPraiseService;

import java.util.List;
import java.util.Map;



@Service("marketUserSignPraiseService")
public class MarketUserSignPraiseServiceImpl implements MarketUserSignPraiseService {
	@Autowired
	private MarketUserSignPraiseDao marketUserSignPraiseDao;
	
	@Override
	public MarketUserSignPraiseEntity queryObject(Long id){
		return marketUserSignPraiseDao.queryObject(id);
	}
	
	@Override
	public List<MarketUserSignPraiseEntity> queryList(Map<String, Object> map){
		return marketUserSignPraiseDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return marketUserSignPraiseDao.queryTotal(map);
	}
	
	@Override
	public void save(MarketUserSignPraiseEntity marketUserSignPraise){
		marketUserSignPraiseDao.save(marketUserSignPraise);
	}
	
	@Override
	public void update(MarketUserSignPraiseEntity marketUserSignPraise){
		marketUserSignPraiseDao.update(marketUserSignPraise);
	}
	
	@Override
	public void delete(Long id){
		marketUserSignPraiseDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		marketUserSignPraiseDao.deleteBatch(ids);
	}
	
}
